package cn.wolfcode.domain;

import lombok.Data;

@Data
public class Employee {
    private Long id;

    private String username;

    private String name;

    private String password;

    private String email;

    private Integer age;

    private boolean admin;  //存员工是否是管理员 true 是 false 否 (Boolean还能存null)

    //关联属性，有这个属性就可以封装这个员工所在部门的信息
    private Department dept;

}